package com.hhwy.framework.code.generation.beans;

import java.util.Random;

/**
 * @author Administrator
 * @version 1.0
 * @created 21-7月-2014 9:24:59
 */
public class MetaData {

	private String tableName;
	private String tableComment;
	private String columnName;
	private String propertyType;
	private String propertyName;
	private String upperPropertyName;
	private boolean isPk;
	private boolean isNull;
	private String length;
	private String comment;
	private String testValue;
	private String importPackage;
	private long serialVersionUID = new Random().nextLong() * 10;

	public MetaData(){

	}

	public void finalize() throws Throwable {

	}

	public String getColumnName(){
		return columnName;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setColumnName(String newVal){
		columnName = newVal;
	}

	public String getPropertyName(){
		return propertyName;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setPropertyName(String newVal){
		propertyName = newVal;
	}

	public String getPropertyType(){
		return propertyType;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setPropertyType(String newVal){
		propertyType = newVal;
	}

	public boolean isPk(){
		return isPk;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setPk(boolean newVal){
		isPk = newVal;
	}

	public boolean isNull(){
		return isNull;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setNull(boolean newVal){
		isNull = newVal;
	}

	public String getLength(){
		return length;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setLength(String newVal){
		length = newVal;
	}

	public String getComment(){
		return comment;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setComment(String newVal){
		comment = newVal;
	}

	public String getTableName(){
		return tableName;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setTableName(String newVal){
		tableName = newVal;
	}

	public String getUpperPropertyName() {
		return upperPropertyName;
	}

	public void setUpperPropertyName(String upperPropertyName) {
		this.upperPropertyName = upperPropertyName;
	}

	public String getTestValue() {
		return testValue;
	}

	public void setTestValue(String testValue) {
		this.testValue = testValue;
	}

	public String getImportPackage() {
		return importPackage;
	}

	public void setImportPackage(String importPackage) {
		this.importPackage = importPackage;
	}

	
	public long getSerialVersionUID() {
		return serialVersionUID;
	}

	
	public void setSerialVersionUID(long serialVersionUID) {
		this.serialVersionUID = serialVersionUID;
	}

	public String getTableComment() {
		return tableComment;
	}

	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}

}